Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
SearchRegistrationMarksCommandData Constructor(Int32,Int32,Int32,Int32,Rectangle,Int32,Point[],RegistrationMarkCommandType)
See Also 
Leadtools.ImageProcessing.Core Namespace > SearchRegistrationMarksCommandData Class > SearchRegistrationMarksCommandData Constructor : SearchRegistrationMarksCommandData Constructor(Int32,Int32,Int32,Int32,Rectangle,Int32,Point[],RegistrationMarkCommandType)




width
Registration mark width, in pixels. This parameter only accepts positive values.
height
Registration mark height, in pixels. This parameter only accepts positive values.
minimumScale
Minimum registration mark scale to be detected. This is a percentage. It must not exceed maximumScale. This parameter only accepts positive values.
maximumScale
Maximum registration mark scale to be detected. This is a percentage. It must not be lower than minimumScale. This parameter only accepts positive values.
rectangle
The area to be searched for registration marks (in pixels).
searchMarkCount
Number of registration marks expected inside the search area. This parameter only accepts positive values.
markDetectedPoints
Array to be filled with the location points of the detected registration marks. SearchRegistrationMarksCommand will fill the first MarkDetectedCount elements in this array.
type
Registration mark type.
Initializes a new SearchRegistrationMarksCommandData class object with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal minimumScale As Integer, _
   ByVal maximumScale As Integer, _
   ByVal rectangle As Rectangle, _
   ByVal searchMarkCount As Integer, _
   ByVal markDetectedPoints() As Point, _
   ByVal type As RegistrationMarkCommandType _
)
Visual Basic (Usage)Copy Code
Dim width As Integer
Dim height As Integer
Dim minimumScale As Integer
Dim maximumScale As Integer
Dim rectangle As Rectangle
Dim searchMarkCount As Integer
Dim markDetectedPoints() As Point
Dim type As RegistrationMarkCommandType
 
Dim instance As SearchRegistrationMarksCommandData(width, height, minimumScale, maximumScale, rectangle, searchMarkCount, markDetectedPoints, type)
C# 
public SearchRegistrationMarksCommandData( 
   int width,
   int height,
   int minimumScale,
   int maximumScale,
   Rectangle rectangle,
   int searchMarkCount,
   Point[] markDetectedPoints,
   RegistrationMarkCommandType type
)
Managed Extensions for C++ 
public: SearchRegistrationMarksCommandData( 
   int width,
   int height,
   int minimumScale,
   int maximumScale,
   Rectangle rectangle,
   int searchMarkCount,
   Point[] markDetectedPoints,
   RegistrationMarkCommandType type
)
C++/CLI 
public:
SearchRegistrationMarksCommandData( 
   int width,
   int height,
   int minimumScale,
   int maximumScale,
   Rectangle rectangle,
   int searchMarkCount,
   array<Point> markDetectedPoints,
   RegistrationMarkCommandType type
)

Parameters

width
Registration mark width, in pixels. This parameter only accepts positive values.
height
Registration mark height, in pixels. This parameter only accepts positive values.
minimumScale
Minimum registration mark scale to be detected. This is a percentage. It must not exceed maximumScale. This parameter only accepts positive values.
maximumScale
Maximum registration mark scale to be detected. This is a percentage. It must not be lower than minimumScale. This parameter only accepts positive values.
rectangle
The area to be searched for registration marks (in pixels).
searchMarkCount
Number of registration marks expected inside the search area. This parameter only accepts positive values.
markDetectedPoints
Array to be filled with the location points of the detected registration marks. SearchRegistrationMarksCommand will fill the first MarkDetectedCount elements in this array.
type
Registration mark type.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also